<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <!-- 页面meta -->
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">


  <title>数据 - AdminLTE2定制版</title>
  <meta name="description" content="AdminLTE2定制版">
  <meta name="keywords" content="AdminLTE2定制版">


  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <!-- Font Awesome -->
  <!-- Ionicons -->
  <!-- iCheck -->
  <!-- Morris chart -->
  <!-- jvectormap -->
  <!-- Date Picker -->
  <!-- Daterange picker -->
  <!-- Bootstrap time Picker -->
  <!--<link rel="stylesheet" href="../../../plugins/timepicker/bootstrap-timepicker.min.css">-->
  <!-- bootstrap wysihtml5 - text editor -->
  <!--数据表格-->
  <!-- 表格树 -->
  <!-- select2 -->
  <!-- Bootstrap Color Picker -->
  <!-- bootstrap wysihtml5 - text editor -->
  <!--bootstrap-markdown-->
  <!-- Theme style -->
  <!-- AdminLTE Skins. Choose a skin from the css/skins
     folder instead of downloading all of them to reduce the load. -->
  <!-- Ion Slider -->
  <!-- ion slider Nice -->
  <!-- bootstrap slider -->
  <!-- bootstrap-datetimepicker -->

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->


  <!-- jQuery 2.2.3 -->
  <!-- jQuery UI 1.11.4 -->
  <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
  <!-- Bootstrap 3.3.6 -->
  <!-- Morris.js charts -->
  <!-- Sparkline -->
  <!-- jvectormap -->
  <!-- jQuery Knob Chart -->
  <!-- daterangepicker -->
  <!-- datepicker -->
  <!-- Bootstrap WYSIHTML5 -->
  <!-- Slimscroll -->
  <!-- FastClick -->
  <!-- iCheck -->
  <!-- AdminLTE App -->
  <!-- 表格树 -->
  <!-- select2 -->
  <!-- bootstrap color picker -->
  <!-- bootstrap time picker -->
  <!--<script src="../../../plugins/timepicker/bootstrap-timepicker.min.js"></script>-->
  <!-- Bootstrap WYSIHTML5 -->
  <!--bootstrap-markdown-->
  <!-- CK Editor -->
  <!-- InputMask -->
  <!-- DataTables -->
  <!-- ChartJS 1.0.1 -->
  <!-- FLOT CHARTS -->
  <!-- FLOT RESIZE PLUGIN - allows the chart to redraw when the window is resized -->
  <!-- FLOT PIE PLUGIN - also used to draw donut charts -->
  <!-- FLOT CATEGORIES PLUGIN - Used to draw bar charts -->
  <!-- jQuery Knob -->
  <!-- Sparkline -->
  <!-- Morris.js charts -->
  <!-- Ion Slider -->
  <!-- Bootstrap slider -->
  <!-- bootstrap-datetimepicker -->
  <!-- 页面meta /-->

  <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css"
        th:href="@{/plugins/bootstrap/css/bootstrap.min.css}">
  <link rel="stylesheet" href="../plugins/font-awesome/css/font-awesome.min.css"
        th:href="@{/plugins/font-awesome/css/font-awesome.min.css}">
  <link rel="stylesheet" href="../plugins/ionicons/css/ionicons.min.css"
        th:href="@{/plugins/ionicons/css/ionicons.min.css}">
  <link rel="stylesheet" href="../plugins/iCheck/square/blue.css" th:href="@{/plugins/iCheck/square/blue.css}">
  <link rel="stylesheet" href="../plugins/morris/morris.css" th:href="@{/plugins/morris/morris.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/jvectormap/jquery-jvectormap-1.2.2.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/datepicker/datepicker3.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/daterangepicker/daterangepicker.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/datatables/dataTables.bootstrap.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/treeTable/jquery.treetable.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/treeTable/jquery.treetable.theme.default.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/select2/select2.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/colorpicker/bootstrap-colorpicker.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/adminLTE/css/AdminLTE.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/adminLTE/css/skins/_all-skins.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/css/style.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/ionslider/ion.rangeSlider.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/ionslider/ion.rangeSlider.skinNice.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-slider/slider.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css}">
</head>

<body class="hold-transition skin-purple sidebar-mini">

<div class="wrapper">

  <!-- 页面头部 -->
  <div th:replace="Bar/Bar::topbar"></div>
  <!-- 页面头部 /-->

  <!-- 导航侧栏 -->
  <div th:replace="Bar/Bar::slidebar"></div>
  <!-- 导航侧栏 /-->

  <!-- 内容区域 -->
  <!-- @@master = admin-layout.html-->
  <!-- @@block = content -->

  <div class="content-wrapper">

    <!-- 内容头部 -->
    <section class="content-header">
      <h1>
        模块名称
        <small>模块功能</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 排版排表</a></li>
        <li><a href="#">查看所有1201值班信息</a></li>
        <li class="active">模块功能</li>
      </ol>
    </section>
    <!-- 内容头部 /-->

    <!-- 正文区域 -->
    <section class="content">
      <div class="row">
        <!-- left column -->
        <!--/.col (left) -->
        <!-- right column -->
        <div class="col-md-6">


          <!-- /.box -->
        </div>
        <!--/.col (right) -->
      </div>
      <div class="box box-primary">
        <div class="box-header with-border">
          <h3 class="box-title">添加人员信息</h3>
        </div>

        <div class="box-body">
            <input type="hidden" name="_method" th:value="PUT">
            <!-- text input -->
            <th scope="row"><b>空闲时间<span style="color: red">*</span></b></th>
            <br>
            <table class="table">
              <thead>
              <tr>
                <th scope="col">节次</th>
                <th scope="col">星期一</th>
                <th scope="col">星期二</th>
                <th scope="col">星期三</th>
                <th scope="col">星期四</th>
                <th scope="col">星期五</th>
              </tr>
              </thead>
              <tbody>
              <tr>
                <th>1-2节</th>
                <td>
                  <p th:each="o1:${one1}" th:attr="deleteUri=@{/attdelete/} + ${o1.s_id}  + '/' +  ${o1.a_id}"  th:text="${o1.s_name} + (${o1.s_leisure_1 == '12'}?'  ':(${o1.s_leisure_1 == '1'}?'(单) ':'(双) '))"></p>
                </td>
                <td>
                  <p th:each="o4:${one4}"  th:attr="deleteUri=@{/attdelete/} + ${o4.s_id}  + '/' +  ${o4.a_id}" th:text="${o4.s_name} + (${o4.s_leisure_4 == '12'}?'  ':(${o4.s_leisure_4 == '1'}?'(单) ':'(双) '))"></p>
                </td>
                <td>
                  <p th:each="o7:${one7}"  th:attr="deleteUri=@{/attdelete/} + ${o7.s_id}  + '/' +  ${o7.a_id}" th:text="${o7.s_name} + (${o7.s_leisure_7 == '12'}?'  ':(${o7.s_leisure_7 == '1'}?'(单) ':'(双) '))"></p>
                </td>
                <td>
                  <p th:each="o10:${one10}"  th:attr="deleteUri=@{/attdelete/} + ${o10.s_id}   + '/' +  ${o10.a_id}" th:text="${o10.s_name} + (${o10.s_leisure_10 == '12'}?'  ':(${o10.s_leisure_10 == '1'}?'(单) ':'(双) '))"></p>
                </td>
                <td>
                  <p th:each="o13:${one13}" th:attr="deleteUri=@{/attdelete/} + ${o13.s_id} + '/' + ${o13.a_id}" th:text="${o13.s_name} + (${o13.s_leisure_13 == '12'}?'  ':(${o13.s_leisure_13 == '1'}?'(单) ':'(双) '))"></p>
                </td>
              </tr>
              <tr>
                <th>3-4节</th>
                <td>
                  <p th:each="o2:${one2}" th:attr="deleteUri=@{/attdelete/} + ${o2.s_id} + '/' + ${o2.a_id}"  th:text="${o2.s_name} + (${o2.s_leisure_2 == '12'}?' ':(${o2.s_leisure_2 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o5:${one5}" th:attr="deleteUri=@{/attdelete/} + ${o5.s_id} + '/' + ${o5.a_id}" th:text="${o5.s_name} + (${o5.s_leisure_5 == '12'}?' ':(${o5.s_leisure_5 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o8:${one8}" th:attr="deleteUri=@{/attdelete/} + ${o8.s_id} + '/' + ${o8.a_id}" th:text="${o8.s_name} + (${o8.s_leisure_8 == '12'}?' ':(${o8.s_leisure_8 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o11:${one11}" th:attr="deleteUri=@{/attdelete/} + ${o11.s_id} + '/' + ${o11.a_id}" th:text="${o11.s_name} + (${o11.s_leisure_11 == '12'}?' ':(${o11.s_leisure_11 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o14:${one14}" th:attr="deleteUri=@{/attdelete/} + ${o14.s_id} + '/' + ${o14.a_id}" th:text="${o14.s_name} + (${o14.s_leisure_14 == '12'}?' ':(${o14.s_leisure_14 == '1'}?'(单)':'(双)'))"></p>
                </td>
              </tr>
              <tr>
                <th>5-7节</th>
                <td>
                  <p th:each="o3:${one3}" th:attr="deleteUri=@{/attdelete/} + ${o3.s_id} + '/' + ${o3.a_id}" th:text="${o3.s_name} + (${o3.s_leisure_3 == '12'}?' ':(${o3.s_leisure_3 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o6:${one6}" th:attr="deleteUri=@{/attdelete/} + ${o6.s_id} + '/' + ${o6.a_id}" th:text="${o6.s_name} + (${o6.s_leisure_6 == '12'}?' ':(${o6.s_leisure_6 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o9:${one9}" th:attr="deleteUri=@{/attdelete/} + ${o9.s_id} + '/' + ${o9.a_id}" th:text="${o9.s_name} + (${o9.s_leisure_9 == '12'}?' ':(${o9.s_leisure_9 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o12:${one12}" th:attr="deleteUri=@{/attdelete/} + ${o12.s_id} + '/' + ${o12.a_id}" th:text="${o12.s_name} + (${o12.s_leisure_12 == '12'}?' ':(${o12.s_leisure_12 == '1'}?'(单)':'(双)'))"></p>
                </td>
                <td>
                  <p th:each="o15:${one15}"th:attr="deleteUri=@{/attdelete/} + ${o15.s_id} + '/' + ${o15.a_id}"  th:text="${o15.s_name} + (${o15.s_leisure_15 == '12'}?' ':(${o15.s_leisure_15 == '1'}?'(单)':'(双)'))"></p>
                </td>
              </tr>
              </tbody>
            </table>
          <a th:href="@{/att1201edit}"><button type="submit" class="btn btn-large btn-primary">修改</button></a>
        </div>
      </div>
    </section>
    <!-- 正文区域 /-->
  </div>
  <!-- @@close -->
  <!-- 内容区域 /-->

  <!-- 底部导航 -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 1.0.8
    </div>
    <strong>Copyright &copy; 2014-2017 <a href="http://www.itcast.cn">研究院研发部</a>.</strong> All rights reserved.
  </footer>
  <!-- 底部导航 /-->

</div>


<script th:src="@{/plugins/jQuery/jquery-2.2.3.min.js}"></script>
<script th:src="@{/plugins/jQueryUI/jquery-ui.min.js}"></script>
<script>
    $.widget.bridge('uibutton', $.ui.button);
</script>
<script th:src="@{/plugins/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/plugins/raphael/raphael-min.js}"></script>
<script th:src="@{/plugins/morris/morris.min.js}"></script>
<script th:src="@{/plugins/sparkline/jquery.sparkline.min.js}"></script>
<script th:src="@{/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js}"></script>
<script th:src="@{/plugins/jvectormap/jquery-jvectormap-world-mill-en.js}"></script>
<script th:src="@{/plugins/knob/jquery.knob.js}"></script>
<script th:src="@{/plugins/daterangepicker/moment.min.js}"></script>
<script th:src="@{/plugins/daterangepicker/daterangepicker.js}"></script>
<script th:src="@{/plugins/daterangepicker/daterangepicker.zh-CN.js}"></script>
<script th:src="@{/plugins/datepicker/bootstrap-datepicker.js}"></script>
<script th:src="@{/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js}"></script>
<script th:src="@{/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js}"></script>
<script th:src="@{/plugins/slimScroll/jquery.slimscroll.min.js}"></script>
<script th:src="@{/plugins/fastclick/fastclick.js}"></script>
<script th:src="@{/plugins/iCheck/icheck.min.js}"></script>
<script th:src="@{/plugins/adminLTE/js/app.min.js}"></script>
<script th:src="@{/plugins/treeTable/jquery.treetable.js}"></script>
<script th:src="@{/plugins/select2/select2.full.min.js}"></script>
<script th:src="@{/plugins/colorpicker/bootstrap-colorpicker.min.js}"></script>
<script th:src="@{/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.zh-CN.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/js/bootstrap-markdown.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/locale/bootstrap-markdown.zh.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/js/markdown.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/js/to-markdown.js}"></script>
<script th:src="@{/plugins/ckeditor/ckeditor.js}"></script>
<script th:src="@{/plugins/input-mask/jquery.inputmask.js}"></script>
<script th:src="@{/plugins/input-mask/jquery.inputmask.date.extensions.js}"></script>
<script th:src="@{/plugins/input-mask/jquery.inputmask.extensions.js}"></script>
<script th:src="@{/plugins/datatables/jquery.dataTables.min.js}"></script>
<script th:src="@{/plugins/datatables/dataTables.bootstrap.min.js}"></script>
<script th:src="@{/plugins/chartjs/Chart.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.resize.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.pie.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.categories.min.js}"></script>
<script th:src="@{/plugins/ionslider/ion.rangeSlider.min.js}"></script>
<script th:src="@{/plugins/bootstrap-slider/bootstrap-slider.js}"></script>
<script th:src="@{/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.js}"></script>
<script th:src="@{/plugins/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js}"></script>
<script>
    $(document).ready(function () {
        // 选择框
        $(".select2").select2();

        // WYSIHTML5编辑器
        $(".textarea").wysihtml5({
            locale: 'zh-CN'
        });


        $('td p').click(function () {
            window.location.href = $(this).attr("deleteUri");
        });
    });


    // 设置激活菜单
    function setSidebarActive(tagUri) {
        var liObj = $("#" + tagUri);
        if (liObj.length > 0) {
            liObj.parent().parent().addClass("active");
            liObj.addClass("active");
        }
    }


    $(document).ready(function () {
        setSidebarActive("admin-blank");
    });
</script>

</body>

</html>